1bashThis script resolves the IP address of a specified host name and extracts the IP address.HOST=${1?'is required'} host $HOST | awk '{print $4}'solutionshost name to IP resolution